package daima;

public class MyClass1 {
    public int x;
    public static void main(String[] args)
    {
        Myclass myObj=new Myclass();
        int y=40;
        myObj.x=y;
        System.out.println(myObj.x);
    }
}
//输出：40